package com.aigou.s_product.entity;

public class Product {

    private String id;
    // 商品名称
    private String product_name;
    // 商品图片
    private String product_image;
    // 商品价格
    private String price;
    // 所属分类
    private String product_type;
    // 商品详情
    private String product_desc;
    // 创建时间
    private String create_time;
    // 商品品牌
    private String product_brand;


    public Product() {
    }

    public Product(String id, String product_name, String product_image, String price, String product_type, String product_desc, String create_time, String product_brand) {
        this.id = id;
        this.product_name = product_name;
        this.product_image = product_image;
        this.price = price;
        this.product_type = product_type;
        this.product_desc = product_desc;
        this.create_time = create_time;
        this.product_brand = product_brand;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return product_name
     */
    public String getProduct_name() {
        return product_name;
    }

    /**
     * 设置
     * @param product_name
     */
    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    /**
     * 获取
     * @return product_image
     */
    public String getProduct_image() {
        return product_image;
    }

    /**
     * 设置
     * @param product_image
     */
    public void setProduct_image(String product_image) {
        this.product_image = product_image;
    }

    /**
     * 获取
     * @return price
     */
    public String getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(String price) {
        this.price = price;
    }

    /**
     * 获取
     * @return product_type
     */
    public String getProduct_type() {
        return product_type;
    }

    /**
     * 设置
     * @param product_type
     */
    public void setProduct_type(String product_type) {
        this.product_type = product_type;
    }

    /**
     * 获取
     * @return product_desc
     */
    public String getProduct_desc() {
        return product_desc;
    }

    /**
     * 设置
     * @param product_desc
     */
    public void setProduct_desc(String product_desc) {
        this.product_desc = product_desc;
    }

    /**
     * 获取
     * @return create_time
     */
    public String getCreate_time() {
        return create_time;
    }

    /**
     * 设置
     * @param create_time
     */
    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    /**
     * 获取
     * @return product_brand
     */
    public String getProduct_brand() {
        return product_brand;
    }

    /**
     * 设置
     * @param product_brand
     */
    public void setProduct_brand(String product_brand) {
        this.product_brand = product_brand;
    }

    public String toString() {
        return "Product{id = " + id + ", product_name = " + product_name + ", product_image = " + product_image + ", price = " + price + ", product_type = " + product_type + ", product_desc = " + product_desc + ", create_time = " + create_time + ", product_brand = " + product_brand + "}";
    }
}
